﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Tenta_2014_12_14_5
{
    class WordCount
    {
        public string Word { get; set; }
        public int Count { get; set; }
        public WordCount(string word = "", int count = 0)
        {
            this.Word = word;
            this.Count = count;
        }

        public override int GetHashCode()
        {
            return Word.GetHashCode();
        }

        public override string ToString()
        {
            return Word + " count: " + Count.ToString();
        }
    }
}
